package com.qige.homework.test;

import com.qige.homework.kind.Architect;
import com.qige.homework.kind.Designer;
import com.qige.homework.kind.Employee;
import com.qige.homework.kind.Programmer;

public class homework {
    public static void main(String[] args) {
        Employee emp = new Employee("1001","张三",20,7000);
        Programmer pro = new Programmer("1002","李四",21,9000,"java");
        Designer des = new Designer("1003","王五",22,10000,"java",2000);
        Architect arc = new Architect("1004","赵六",23,12000,"java",3000,30);
        emp.getInfo();
        pro.getInfo();
        des.getInfo();
        arc.getInfo();
    }
}
